package com.yonyou.crm.bpub.topbar.service;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.crm.bpub.topbar.entity.*;
import com.yonyou.crm.common.search.entity.AppSearchPlanEnum;

@Service
public class DynamicTopbar extends BaseTopbar {
	
	@Override
	public PlanVO getPresetOptions(){
		PlanVO presetOption = new PlanVO();
		presetOption.setTitle("预置选择");
		
		List<DataItemVO> data = new ArrayList<>();
		DataItemVO item;
		
		item = new DataItemVO(String.valueOf(AppSearchPlanEnum.ALL.getValue()), AppSearchPlanEnum.ALL.getName());
		data.add(item);
		
		item = new DataItemVO(String.valueOf(AppSearchPlanEnum.DYNAMICACTION.getValue()), AppSearchPlanEnum.DYNAMICACTION.getName());
		data.add(item);
		
		item = new DataItemVO(String.valueOf(AppSearchPlanEnum.DYNAMICTRANSACTION.getValue()), AppSearchPlanEnum.DYNAMICTRANSACTION.getName());
		data.add(item);
		
		presetOption.setData(data);
		return presetOption;
	};
	
	@Override
	public String getSearchPlaceholder(){
		return null;
	}
	
	@Override
	public PlanVO getSortData(){
		return null;
	};
	
	@Override
	public List<SelectDataVO> getSelectData(){
		return null;
	}

}
